<html>
<head><meta charset="utf-8"><title>mandatory //~ ERROR in ui tests · t-compiler · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/index.html">t-compiler</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/mandatory.20.2F.2F~.20ERROR.20in.20ui.20tests.html">mandatory //~ ERROR in ui tests</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="148378486"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/mandatory%20//%7E%20ERROR%20in%20ui%20tests/near/148378486" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> oli <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/mandatory.20.2F.2F~.20ERROR.20in.20ui.20tests.html#148378486">(Nov 26 2018 at 16:25)</a>:</h4>
<blockquote>
<p>I'd like to see the <code>//~ ERROR</code> lines mandatory, too</p>
</blockquote>
<p>I found the issue, it's just hard to write tests for our test suite <span class="emoji emoji-1f615" title="confused">:confused:</span> so not sure how to write a regression test</p>



<a name="148393703"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/mandatory%20//%7E%20ERROR%20in%20ui%20tests/near/148393703" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/mandatory.20.2F.2F~.20ERROR.20in.20ui.20tests.html#148393703">(Nov 26 2018 at 19:57)</a>:</h4>
<p><span class="user-mention" data-user-id="124288">@Oli</span> yeah; you might be able to use the <code>// should-panic</code> comment</p>



<a name="148393712"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/mandatory%20//%7E%20ERROR%20in%20ui%20tests/near/148393712" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/mandatory.20.2F.2F~.20ERROR.20in.20ui.20tests.html#148393712">(Nov 26 2018 at 19:57)</a>:</h4>
<p>which indicates that the test itself should fail</p>



<a name="148393717"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/mandatory%20//%7E%20ERROR%20in%20ui%20tests/near/148393717" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/mandatory.20.2F.2F~.20ERROR.20in.20ui.20tests.html#148393717">(Nov 26 2018 at 19:57)</a>:</h4>
<p>and was meant for this purpose</p>



<a name="148393724"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/mandatory%20//%7E%20ERROR%20in%20ui%20tests/near/148393724" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/mandatory.20.2F.2F~.20ERROR.20in.20ui.20tests.html#148393724">(Nov 26 2018 at 19:57)</a>:</h4>
<p>er, is that what I calle it</p>



<a name="148393773"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/mandatory%20//%7E%20ERROR%20in%20ui%20tests/near/148393773" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/mandatory.20.2F.2F~.20ERROR.20in.20ui.20tests.html#148393773">(Nov 26 2018 at 19:58)</a>:</h4>
<p>nope, <code>// should-fail</code></p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>